package com.bestsoft.flow.domain;

import com.bestsoft.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 用户订单明细对象 flow_order_dt
 *
 * @author 王识宇
 * @date 2023-08-28
 */
public class FlowOrderDt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单据ID */
    private Long orderId;

    /** 商品ID */
    private String goodid;

    /** 原价 */
    private BigDecimal oldprice;

    /** 单价 */
    private BigDecimal price;

    /** 扣率 */
    private Long dedrate;

    /** 数量 */
    private BigDecimal num;

    /** 金额 */
    private BigDecimal amount;

    /** 执行数量 */
    private BigDecimal execnum;

    /** 二维码ID */
    private String qcode;

    /** 生产企业名称 */
    private String manufacturer;

    /** 医院名称 */
    private String hospitalName;

    /** 标示时间 */
    private String bsdate;

    /** 放射性活度 */
    private String radioActivity;

    /** 特殊要求 */
    private String specRequmts;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setGoodid(String goodid) 
    {
        this.goodid = goodid;
    }

    public String getGoodid() 
    {
        return goodid;
    }
    public void setOldprice(BigDecimal oldprice) 
    {
        this.oldprice = oldprice;
    }

    public BigDecimal getOldprice() 
    {
        return oldprice;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDedrate(Long dedrate) 
    {
        this.dedrate = dedrate;
    }

    public Long getDedrate() 
    {
        return dedrate;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setExecnum(BigDecimal execnum) 
    {
        this.execnum = execnum;
    }

    public BigDecimal getExecnum() 
    {
        return execnum;
    }
    public void setQcode(String qcode) 
    {
        this.qcode = qcode;
    }

    public String getQcode() 
    {
        return qcode;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setHospitalName(String hospitalName) 
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() 
    {
        return hospitalName;
    }
    public void setBsdate(String bsdate) 
    {
        this.bsdate = bsdate;
    }

    public String getBsdate() 
    {
        return bsdate;
    }
    public void setRadioActivity(String radioActivity)
    {
        this.radioActivity = radioActivity;
    }

    public String getRadioActivity()
    {
        return radioActivity;
    }
    public void setSpecRequmts(String specRequmts) 
    {
        this.specRequmts = specRequmts;
    }

    public String getSpecRequmts() 
    {
        return specRequmts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("goodid", getGoodid())
            .append("oldprice", getOldprice())
            .append("price", getPrice())
            .append("dedrate", getDedrate())
            .append("num", getNum())
            .append("amount", getAmount())
            .append("execnum", getExecnum())
            .append("remark", getRemark())
            .append("qcode", getQcode())
            .append("manufacturer", getManufacturer())
            .append("hospitalName", getHospitalName())
            .append("bsdate", getBsdate())
            .append("radioActivity", getRadioActivity())
            .append("specRequmts", getSpecRequmts())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
